# 位置传递实例:
def fun1(a,b,c):
  return a+b+c

print(fun1(1))

#  # 关键字传递
# def fun2(a,b,c):
#   return a+b+c
# print(fun2(1,c=3,b=2))
#
#
#
# 默认值传递
def fun3(a,b=2,c=3):
  return a+b+c

print(fun3(a = 1))
#
# # 默认值在 定义 作用域里的函数定义中求值
# i = 5
# def f(arg=i):
#     print(arg)
# i = 6
# f()
#
#
# def fun4(*name):
#   print(type(name))
#   print(name)
#
# fun4([1,2,3])
# fun4((1,2,3))
# fun4(1,2,3)